public class GenericAccount {

	protected int fAccountNumber;
	

	protected String fName;
	protected String fStreet;
	protected String fZipCode;
	protected String fTown;
	protected String fCountry;
	CustomerDetails customer = null;


	protected double fBalance;

	

	
	public GenericAccount(CustomerDetails cust_obj){
		this.fName = cust_obj.getfName();
		this.fStreet = cust_obj.getfStreet();
		this.fZipCode = cust_obj.getfZipCode();
		this.fTown = cust_obj.getfTown();
		this.fCountry = cust_obj.getfCountry();
		
		
	}
	public GenericAccount(int fAccountNumber) {
		
		this.fAccountNumber = fAccountNumber;
	}

	public void print() {
		System.out.println("**************************************");
		System.out.println("Account:     " + fAccountNumber);
		System.out.println("Account holder name: " + fName);
		System.out.println("Address:             " + fStreet);
		System.out.print("                     " + fZipCode);
		System.out.println(" " + fTown);
		System.out.println(fCountry.toUpperCase());
		System.out.println("**************************************");
		System.out.println("Balance:  " + fBalance);
		System.out.println("**************************************");
	}
}